﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LCA.Community.DAL.Model;

namespace LCA.Community.DAL.Interfaces
{
    /// <summary>
    /// The interface for friendship repositories
    /// </summary>
    public interface IFriendshipsRepository : IBaseRepository<Friendship>
    {
        void Add(string userID1, string userID2);
        Friendship Get(string userID1, string userID2);
        bool AreFriends(string userID1, string userID2);
        void Delete(string userID1, string userID2);
        List<Friendship> GetFriendshipsByUser(string userID);
        void DeleteAllUserFriendShips(string userID);
    }
}
